package com.springboot.seckill.controller.dto;

import javax.validation.constraints.NotBlank;

/**
 * @Author: HuangDekai
 * @Date: 2022/3/12 19:10
 * @Version: 1.0
 * @since: jdk11
 */
public class LoginDTO {
    @NotBlank(message = "手机号不能为空")
    private String telphone;
    @NotBlank(message = "密码不能为空")
    private String password;

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "LoginDTO{" +
                "telphone='" + telphone + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
